home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.2
/
Video Toaster v4.2.iso
/
programs
/
startups
/
lwstart
next >
Wrap
Text File
|
1996-02-14
|
2KB
|
82 lines
/* LWStart -- Start lightwave without the editor loaded. */
/* By Bob Caron (Grue) © 1995 NewTek Inc. */
OPTIONS RESULTS
TOASTERLIB="ToasterARexx.port"
call remlib('ToasterARexx.port')
IF SHOW('Ports','ToasterARexx.port') THEN
IF ADDLIB(TOASTERLIB , 0) THEN x=Bummer("The Video Toaster Flyer is already running!! ")
call pragma("d","toaster:programs")
switcher=1
if exists("toaster:programs/switcher.main.aa") then switcher=2
else
switcher=1
say "LWStart V1.2"
say
if (exists("toaster:programs/switcher.main.aa") & exists("toaster:programs/switcher.main")) then do
do while left(computer,1) ~="2" & left(computer,1)~="4"
say "You have the A2000 and the A4000 switcher programs on your system!"
say ""
say "Is this computer an Amiga 2000 or an Amiga 4000? <2000/4000>"
pull computer
end
say
if left(computer,1)="4" then switcher=2
else switcher=1
end
if switcher=2 then
address command "run >NIL: switcher.main.aa noed"
else
address command "run >NIL: switcher.main noed"
do while ~SHOW('Ports','ToasterARexx.port')
address command "c:wait 1"
end
call remlib('ToasterARexx.port')
call ADDLIB('ToasterARexx.port' , 0)
/* Add Startup Code here... */
say
say
say "Currently the Toaster/Flyer Software is loaded without the sequencer."
say ""
say " To load the sequencer:"
say " 1) Exit LightWave."
say " 2) At the switcher press F8."
say ""
say " To quit altogether:"
say " 1) Exit LightWave."
say " 2) Press Ctrl+Left-Alt+F10 to quit the switcher."
say
say
Switcher(M002)
Switcher(LDLW)
Switcher(STLW)
Switcher(QUIT) /* Freeze the script until we leave lightwave */
do while SHOW('Ports','ToasterARexx.port') & ~SHOW('Ports','PROJECT_REXX_PORT')
address command "c:wait 5"
end
/* End of code. */
call remlib('ToasterARexx.port')
exit
bummer: /* <- An Arnie like error system */
parse arg message
say "LWStart V1.2"
say
say message
say
say "Press <Return> to continue."
pull stuff
exit